'''API Test'''

from spass.core.test.test_core import (core_test_assignment_version,
                                       core_test_assignment_team,
                                       core_test_assignment)

def test_assignment_version(id_ass, id_team, id_version, test_name):
    ''' Tests an assignment version for a team'''
    return core_test_assignment_version(id_ass, id_team, id_version, test_name)

def test_assignment_team(id_assignment, id_team, test_name):
    ''' Tests the last assignment version of a team'''
    return core_test_assignment_team(id_assignment, id_team, test_name)

def test_assignment(id_assignment, test_name):
    ''' Tests last assignment versions of each team in the assignment'''
    return core_test_assignment(id_assignment, test_name)
